﻿using System.ComponentModel.DataAnnotations;
using System;
namespace XSTDZ.ERP.Application.DataContracts
{
    public class RefeDto
    {
        public Guid Id { get; set; }
        [Display(Name="选项名称")]
        [Required(ErrorMessage="{0}必填！")]
        public string RefeName { get; set; }
        [Display(Name="选项编码")]
        [Required(ErrorMessage="{0}必填！")]
        public string RefeCode { get; set; }
        public int Deleted { get; set; }
        public System.Guid CreateID { get; set; }
        public System.DateTime CreateTime { get; set; }
        public Nullable<System.Guid> UpdateID { get; set; }
        public Nullable<System.DateTime> UpdateDate { get; set; }
        public bool IsEnableEdit { get; set; }

        public Guid RefeTypeId { get; set; }
        public virtual RefeTypeDto RefeTypeDto { get; set; }
    }
}
